package com.tlsy.commerce.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author Tlsy
 * @version commerce 0.0.1
 * @date 2017/4/24  18:16
 */
@Controller
public class HomeController extends BaseController {

    @RequestMapping(value = "/home")
    public ModelAndView home(ModelMap model){
        return new ModelAndView("/index",model);
    }
}
